package org.jeecg.modules.jtr.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 贷款信息
 * @Author: jeecg-boot
 * @Date:   2023-09-03
 * @Version: V1.0
 */
@Data
@TableName("jtr_dk")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="jtr_dk对象", description="贷款信息")
public class JtrDk {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**客户姓名*/
	@Excel(name = "客户姓名", width = 15)
    @ApiModelProperty(value = "客户姓名")
	private String name;
	/**业务经理*/
	@Excel(name = "业务经理", width = 15)
    @ApiModelProperty(value = "业务经理")
	private String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**其他证明材料照片*/
	@Excel(name = "其他证明材料照片", width = 15)
    @ApiModelProperty(value = "其他证明材料照片")
	private String photos;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
	private String cardId;
	/**身份证照片*/
	@Excel(name = "身份证照片", width = 15)
    @ApiModelProperty(value = "身份证照片")
	private String cardPhoto;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	@TableLogic
	private Integer delFlag;
	/**审核 0未审核  1审核通过 2驳回*/
	@Excel(name = "审核 0未审核  1审核通过 2驳回", width = 15)
    @ApiModelProperty(value = "审核 0未审核  1审核通过 2驳回")
	@Dict(dicCode = "examine")
	private Integer examine;
	/**计划放贷时间*/
	@Excel(name = "计划放贷时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划放贷时间")
	private Date jhfdTime;
	/**实际放贷时间*/
	@Excel(name = "实际放贷时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "实际放贷时间")
	private Date sjfdTime;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private Date updateTime;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**贷款人银行卡号*/
	@Excel(name = "贷款人银行卡号", width = 15)
    @ApiModelProperty(value = "贷款人银行卡号")
	private String yhkh;
	/**贷款金额*/
	@Excel(name = "贷款金额", width = 15)
    @ApiModelProperty(value = "贷款金额")
	private String dkje;
	/**贷款人联系电话*/
	@Excel(name = "贷款人联系电话", width = 15)
    @ApiModelProperty(value = "贷款人联系电话")
	private String phone;
	/**驳回理由*/
	@Excel(name = "驳回理由", width = 15)
    @ApiModelProperty(value = "驳回理由")
	private String reason;
	/**贷款人住址*/
	@Excel(name = "贷款人住址", width = 15)
    @ApiModelProperty(value = "贷款人住址")
	private String address;
	/**计划还款时间*/
	@Excel(name = "计划还款时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "计划还款时间")
	private Date jhhkTime;
	/**贷款周期*/
	@Excel(name = "贷款周期", width = 15)
    @ApiModelProperty(value = "贷款周期")
	private String zhouqi;
	@ApiModelProperty(value = "客户类型")
	@Dict(dicCode = "kehutype")
	private String kehutype;

	@ApiModelProperty(value = "意向贷款银行")
	@Dict(dicCode = "yxyh")
	private String yxyh;

	/**计划还款时间*/
	@Excel(name = "计划还款时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "计划还款时间")
	private Date process;

	/**计划还款时间*/
	private String  notes;

	private String  jcsx;
}
